<div class="input-group">
	<input type="text" class="form-control" id="{$field}" name="{$field}" value="{$value}" readonly size="15">
	<span class="input-group-addon"><i class="fa fa-th"></i></span>
</div>
<script>
$('#{$field}').fdatepicker({
	format: 'yyyy-mm-dd hh:ii:ss',
	pickTime: true
});
</script>